<div class="grid_24">
	<ul class="pagination panel_bordered">
	<span class="countItems">{{ paginator.countItems }}</span> {{ 'partial.pagination.announcement' | trans }} - {{ 'partial.pagination.page' | trans }}
	{% if paginator.hasPreviousSegment %}
		<li class="item"><a href="{{ path(route, {'currentPage': paginator.firstPageOfCurrentSegment - 1 }) }}?{{ query }}"><<</a></li>
	{% endif %}
	{% for p in paginator.firstPageOfCurrentSegment..paginator.lastPageOfCurrentSegment %}
		{% if p == paginator.currentPage %}
			<li class="item">[{{ p }}]</li>
		{% else %}
			<li class="item"><a href="{{ path(route, {'currentPage': p}) }}?{{ query }}">{{ p }}</a></li>
		{% endif %}
	{% endfor %}
	{% if paginator.hasNextSegment %}
		<li class="item"><a href="{{ path(route, {'currentPage': paginator.lastPageOfCurrentSegment + 1}) }}?{{ query }}">>></a></li>
	{% endif %}
	</ul>
</div>